<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        .bg{
            background-color: red;
        }
        .bd{
            border:1px solid black;
        }
        .co{
            color:blue;
        }
        .hidden{
            display: none;
        }
    </style>
</head>
<body>
    <div id="app">
         <ul>
             <template v-for="p in peoples">
                <li>姓名{{p.name}}</li>
                <li>年龄{{p.age}}</li>
             </template>
         </ul>
    </div>
    <script src="vue.js"></script>
    <script>
       
        var app = new Vue({
            el:'#app',
            data:{
                peoples:[
                    {name:"张",age:12},
                    {name:"王",age:23},
                    {name:"李",age:34},
                ]
            },
        })
    </script>
</body>
</html>